import DataType from 'sequelize';
import { sequelize } from '../../sequelize';
const FirewallDefault = sequelize.define('FirewallDefault', {

  type: {
    type: new DataType.VIRTUAL(DataType.STRING),
    get() {
      return 'FirewallDefaultType';
    },
  },

  id: {
    type: DataType.BIGINT,
    primaryKey: true,
    autoIncrement: true,
  },

  wtp_id: {
    type: DataType.INTEGER,
  },

  svnFlood: {
    type: DataType.BOOLEAN,
  },


  company_id: {
    type: DataType.BOOLEAN,
  },

  dropInvalidPkts: {
    type: DataType.BOOLEAN,
  },

  input: {
    type: DataType.BOOLEAN,
  },

  output: {
    type: DataType.INTEGER,
  },

  forward: {
    type: DataType.INTEGER,
  },



});

export default FirewallDefault;
